﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace TestApi.Models
{
    [Table("tbl_Left")]
    public class Left
    {
        [Key]
        [Column("id")]
        public int Id { get; set; } 
        [Column("html_url")]
        public string HtmlUrl { get; set; }
        [Column("description")]
        public string Description { get; set; }
        [Column("name")]
        public string Name { get; set; }
        [Column("is_right")]
        public bool IsRight { get; set; }
    }

    [Table("tbl_Right")]
    public class Right
    {
        [Key]
        [Column("id")]
        public int Id { get; set; }
        [Column("left_id")]
        public int LeftId { get; set; }
    }

}
